package functions;
import main.ContingencyTable;


public class JaccardFunction extends GeneralFunction {

	public JaccardFunction(String name) {
		super(name);
	}

	@Override
	public double calculate(ContingencyTable t) {
		return t.f11() / (t.f1p() + t.fp1() - t.f11());
	}

}
